package com.hotelvip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 会员套餐
 * @author Lzh
 * @date 2020/12/22 14:56
 */
@Data
@TableName("ht_vipcard")
@ApiModel(value = "vip套餐对象",description = "vip套餐对象VipCard")
public class VipCard extends BasePojo {
    private static final long serialVersionUID = 7423157214153472931L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "会员套餐id",name = "id")
    private Long id;
    @ApiModelProperty(value = "会员套餐名称",name = "vipName")
    private String vipName;
    @ApiModelProperty(value = "发行人",name = "issuer")
    private String issuer;
    @ApiModelProperty(value = "发行商",name = "pub")
    private String pub;
    @ApiModelProperty(value = "会员卡类型",name = "vipType")
    private Integer vipType;
    @ApiModelProperty(value = " 状态CardStatueEnum",name = "status")
    private Integer status;
    @ApiModelProperty(value = "发行时间",name = "upload")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date upload;
    @ApiModelProperty(value = " 佣金比例",name = "commissionRate")
    private Float commissionRate;
    @ApiModelProperty(value = "时效(单位:年、月、日)",name = "dueTime")
    private Long dueTime;
    @ApiModelProperty(value = "时间类型",name = "timeType")
    private Integer timeType;
    @ApiModelProperty(value = "返现金额",name = "rMoney;")
    private Integer rMoney;
    @ApiModelProperty(value = "是否返现FlagEnum枚举1是，0否",name = "rmFlag")
    private Integer rmFlag;
    @ApiModelProperty(value = "是否转让FlagEnum枚举1是，0否",name = "rcFlag")
    private Integer rcFlag;
    @ApiModelProperty(value = "是否赠送FlagEnum枚举1是，0否",name = "rgFlag")
    private Integer rgFlag;
    @ApiModelProperty(value = "备注",name = "comment")
    private String comment;
    @ApiModelProperty(value = "赠送卡id",name = "giveId")
    private String giveId;
}
